/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DAO;

import DAOHibernate.AlunoDAOHibernate;
import DAOHibernate.AnamnesePerguntaDAOHibernate;
import DAOHibernate.AnamneseRespostaDAOHibernate;
import DAOHibernate.ComposicaoCorporalDAOHibernate;
import DAOHibernate.ExercicioDAOHibernate;
import DAOHibernate.LoginDAOHibernate;
import DAOHibernate.PreTreinoDAOHibernate;
import DAOHibernate.TreinoDAOHibernate;

/**
 *
 * @author Thais
 */
public class DAOFactory {

    public static AlunoDAO obterAlunoDAO(){
        AlunoDAO alunoDAO = new AlunoDAOHibernate();
        return alunoDAO;
    }

    public static PreTreinoDAO obterPreTreinoDAO(){
        PreTreinoDAO preTreinoDAO = new PreTreinoDAOHibernate();
        return preTreinoDAO;
    }
    
    public static ExercicioDAO obterExercicioDAO(){
        ExercicioDAO exercicioDAO = new ExercicioDAOHibernate();
        return exercicioDAO;
    }

    public static TreinoDAO obterTreinoDAO(){
        TreinoDAO treinoDAO = new TreinoDAOHibernate();
        return treinoDAO;
    }
    
     public static AnamnesePerguntaDAO obterAnamnesePerguntaDAO(){
        AnamnesePerguntaDAO anamnesePerguntaDAO = new AnamnesePerguntaDAOHibernate();
        return anamnesePerguntaDAO;
    }
     
     public static ComposicaoCorporalDAO obterComposicaoCorporalDAO(){
         ComposicaoCorporalDAO composicaoCorporalDAO = new ComposicaoCorporalDAOHibernate();
         return composicaoCorporalDAO;
     }
     
     public static LoginDAO obterLoginDAO(){
         LoginDAO loginDAO = new LoginDAOHibernate();
         return loginDAO;
     }

    public static AnamneseRespostaDAO obterAnamneseRespostaDAO() {
        AnamneseRespostaDAO anamneseRespostaDAO = new AnamneseRespostaDAOHibernate();
         return anamneseRespostaDAO;
    }
}
